#ifndef __SYS_RADAR_API_H__
#define __SYS_RADAR_API_H__

#include <stdint.h>
#include "sdk_core/udk_support_def/dp_def.h"
#include "sdk_core/udk_support_def/rf_def.h"
#include "sdk_core/rom_def.h"

#include "sys_radar_def.h"

void SRAPI_PREPDATA_HANDLE(void);
void SRAPI_BBE_PREPINIT(PARAM_DATAPREP *sCfg);
void SRAPI_RF_VENUS_INIT(void);
void SRAPI_ANACFG_SET(ANACFG *sCfg);
void SRAPI_P2_FFT_HANDLE(P2_FFT_CONFIG *sCfg);
void SRAPI_P2_FFT_STEPCFG8_HANDLE(P2_FFT_CONFIG *sCfg,uint32_t Step);
void SRAPI_RF_VENUS_DEINIT(void);
void SRAPI_BBE_WAITISR(uint32_t val);

uint32_t SRAPI_CFAR_HANDLE(CFAR_CONFIG *sCfg);
void SRAPI_ANGLE_SEQ_PRE(PARAM_DATAPREP *sCfg);
void SRAPI_FFT3D_PRE_HANDLE(FFT3D_PRE *sCfg,struct pc_rst *sRst);

void SRAPI_WDT_RSTNOW(void);

void SRAPI_CMPHIT_CFAR_TARGET(uint16_t aLen,BBE_CFARRST_T *aArray,uint16_t bLen,BBE_CFARRST_T *bArray,_Bool *hitAFlag,_Bool *hitBFlag,uint16_t cfar_max_num);

void SRAPI_COPYWIN_HANDLE(uint16_t *srcAddr,WIN_CFG *sCfg);

int SRAPI_ALPHA_FILTER_PROC(struct alpha_filter_cfg *p_alpha_filter_cfg,struct alpha_filter *p_alpha_filter,struct epc *p_epc,uint32_t sn,uint8_t info1,uint8_t info2);
void SRAPI_DBSCAN_CLUSTER_PROC(struct dbscan_cluster *pDBSCAN,struct pc_rst *frameRst,uint8_t vel_num);
uint32_t SRAPI_GET_VERSION(void);
#endif
